package org.genntii.warehousesystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.genntii.warehousesystem.domain.dto.EmployeeDTO;
import org.genntii.warehousesystem.domain.dto.EmployeeRegisterDTO;
import org.genntii.warehousesystem.domain.dto.LoginDTO;
import org.genntii.warehousesystem.domain.entity.Employee;

import java.util.Map;

public interface EmployeeService extends IService<Employee> {

    void register(EmployeeRegisterDTO employeeRegisterDTO);

    Map<Object, Object> login(LoginDTO loginDTO);

    void update(EmployeeDTO employeeDTO);

    void term(int id);

}
